/*----- modal start ------*/

body.modal-open {
    overflow: hidden;
}

.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: table;
    bottom: 0;
    overflow: auto;
    transition: opacity .3s ease;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}


/* 修复滚动问题 */

.modal-mask {
    display: block;
}

.modal-mask .modal-wrapper {
    display: block;
    margin: 30px auto;
}

.modal-container {
    position: relative;
    width: 640px;
    margin: 0 auto;
    background-color: #fff;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
}

.modal-container .modal-cover {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    /*background-image: url("/bx/Content/static/img/loading_v2.gif");*/
    background-repeat: no-repeat;
    background-position: center;
}

.modal-header {
    /*background-color: #f5f5f5;*/
    line-height: 36px;
    padding: 0 0 0 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
    border-bottom: 1px solid #ccc;
}

.modal-header h4 {
    font-size: 12px;
    font-weight: bold;
}

.modal-header h4 i {
    margin-right: 6px;
}

.modal-header>.fa-close {
    position: absolute;
    width: 36px;
    line-height: 36px;
    text-align: center;
    top: 0;
    right: 5px;
    font-size: 14px;
    cursor: pointer;
    color: #1ab394;
}

.modal-header>.fa-close:hover {
    background-color: #e8e8e8;
    color: #18a689;
}

.modal-header>.close {
    position: absolute;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    top: 0;
    right: 5px;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    z-index: 9999;
}

.modal-header>.close:hover {
    background: #e8e8e8;
}
.modal-header .close{
    margin-top: 0px !important;
}
.modal-header .close>i {
    display: block;
    width: 11px;
    height: 11px;
    /*background: url(../../content/img/UI_close1.svg) no-repeat;*/
    background-size: 100% 100%;
    margin-top: 12px;
    margin-left: 12px;
}

.modal-header>.close:hover>i {
    /*background: url(../../content/img/UI_close1.svg) no-repeat;*/
    background-size: 100% 100%;
}

.modal-body {
    padding: 10px 10px;
}

.modal-body.inner-scroll {
    max-height: 500px;
    overflow: auto;
}

.modal-footer {
    padding: 10px 20px;
    border-top: 1px solid #ccc;
    text-align: right;
}

.modal-footer button {
    margin-left: 20px;
}

.modal-footer button:first-child {
    margin-left: 0;
}

.modal-enter,
.modal-leave {
    opacity: 0;
}

.modal-enter .modal-container,
.modal-leave .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/*----- modal end ------*/
/* 弹框公用部分 */

.modal-container {
    border-radius: 3px;
}

.modal-header h4 {
    color: #000;
    font-size: 15px;
    font-weight: normal;

}

.modal-header {
    line-height: 40px;
    border-bottom: 1px solid #e9e9e9;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 5px 0 2px 15px !important;
}

.modal-header>.close {
    height: 40px;
    line-height: 40px;
}

.modal-header .close>i {
    margin-top: 14px;
    /*background: url(../../content/img/UI_close1.svg) no-repeat;*/
    background-size: 100% 100%;
}

.modal-header>.close:hover>i {
    /*background: url(../../content/img/UI_close1.svg) no-repeat;*/
    background-size: 100% 100%;
}

.modal-body {
    padding: 10px 15px;
}

.modal-footer {
    border-top: 1px solid #e9e9e9;
    padding: 10px 15px;
    text-align: center;
}

.modal-footer a {
    width: 80px;
    margin-left: 6px;
}
.no-btn .modal-footer {
    border-top: none;
}
/* 弹框里面的btn */
.revision-btn {
    display: inline-block;
    min-width: 80px;
    height: 28px;
    line-height: 28px;
    border-radius: 3px;
    background: #1ab394;
    color: #fff;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    padding: 0 12px;
    cursor:pointer;
}
.revision-btn.width56 {
    width: 56px;
}
.revision-btn:hover {
    background: #42C9AB;
    color: #fff !important;
}

.revision-btn:active {
    background: #05a080;
}
.title-tips {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}
